package com.xd.core.business.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZX
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DeContractVo implements Serializable {

    @ApiModelProperty(value = "合同id")
    private Integer contractId;

    @ExcelProperty(value = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ExcelProperty(value = "客户姓名")
    @ApiModelProperty(value = "客户姓名")
    private String name;

    @ApiModelProperty(value = "债券id")
    private Integer debtId;

    @ApiModelProperty(value = "公司id")
    private Integer companyId;

    @ExcelProperty(value = "合同编号")
    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    @ApiModelProperty(value = "合同模板(1-债权转让协议,2-委托代收付协议)")
    private String type;

    @ExcelProperty(value = "合同模板")
    @ApiModelProperty(value = "合同模板(1-债权转让协议,2-委托代收付协议)")
    private String typeRemark;

    @ApiModelProperty(value = "合同状态(1--待签署,2--已签署,3-过期，4.拒签，5-失败)")
    private String status;

    @ExcelProperty(value = "合同状态")
    @ApiModelProperty(value = "合同状态备注(1--待签署,2--已签署,3-过期，4.拒签，5-失败)")
    private String statusRemark;

    @ExcelProperty(value = "合同发起时间")
    @ApiModelProperty(value = "合同发起时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date startTime;

    @ExcelProperty(value = "合同地址")
    @ApiModelProperty(value = "合同地址")
    private String contract;

    @ExcelProperty(value = "合同签署日期")
    @ApiModelProperty(value = "合同签署日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date contractTime;

    @ExcelProperty(value = "合同名称")
    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @ExcelProperty(value = "合同预览链接")
    @ApiModelProperty(value = "合同预览链接")
    private String previewUrl;

}
